<?php echo $this->doctype() ?>  
<html>  
<head>  
    <?php echo $this->headTitle() ?>  
    <?php echo $this->headMeta() ?>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width; initial-scale=1.0;  maximum-scale=1.0">
    <meta name="apple-mobile-web-app-capable" content="yes">
   	<meta name="apple-mobile-web-app-status-bar-style" content="black">
   	<meta name="keywords" content="game mien phi, game cho android, down game android, miễn phí" />
	<meta name="description" content="Game mien phi và ứng dụng cho android" />
<!-- 	<meta property="og:title" content="Sản phẩm &quot; Đào vàng biển Đông&quot;" /> -->
	<meta property="og:description" content="Game và ứng dụng cho android, game miễn phí, ứng dụng miễn phí android" />
	<meta property="og:type" content="author" />
<!-- 	<meta property="og:image" content="http://s.qplay.vn//images/product/icon/72120713-042032.png" /> -->
	<meta property="og:site_name" content="" />
	<meta property="fb:admins" content="100001127973338" />
<!-- 	<meta name="keywords" content="Đào vàng biển Đông" />        -->
    <?php echo $this->headLink() ?>  
    <?php echo $this->headScript() ?>    
    <script type="text/javascript">
    	var baseUrl = "<?php echo $this->baseUrl()?>"
    </script> 
</head>  
<body>
<div id ="container">
	<header>
		
		<div id ="topheader" >
		<?php if(!$this->user){?>
		<img onclick = "login(event)" id = "login-icon" alt="login" src="<?php echo $this->baseUrl()?>/public/common/img/login-icon.jpg" class="right">
		<?php }else 
			echo "<span class='right user_info' >". $this->user->{"username"}. "</span>";
			//print_r($this->user->{"username"});
		?>
			<a href="<?php echo $this->baseUrl()?>/mobile/" > 
			ZGome
			</a>
		</div> 
		<hr class="clear" style= " background: blue ;" >
		<?php if(!$this->user ) echo  $this->render("login.phtml"); ?>
		<div class="clear"></div>
	</header>
	<?php
        echo $this->layout()->content;
    ?>
	<footer>
	
	<div id="footer-bar">
	</div></footer>
</div>
</body> 
</html>